package web_config

import (
	"chain_bridge_service/internal/pkg/core"
	"chain_bridge_service/internal/repository/mongodb"
	"chain_bridge_service/internal/services/web_config"
	"go.uber.org/zap"
)

var _ Handler = (*handler)(nil)

type Handler interface {
	i()
	Create() core.HandlerFunc
	GetLatest() core.HandlerFunc
}

type handler struct {
	logger     *zap.Logger
	webService web_config.Service
}

func New(logger *zap.Logger, db mongodb.Repo) Handler {
	return &handler{
		logger:     logger,
		webService: web_config.New(db),
	}
}

func (h *handler) i() {}
